﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EFSQLiteOneToManay
{
    [Table("GroupRecord")]
    public class InspGroupRecord : BaseDomain
    {
        public string ID { get; set; }
        public string GID { get; set; }
        public string GroupName { get; set; }
        public bool GroupResult { get; set; }
        public string ErrorType { get; set; }
        [ForeignKey("GID")]
        public virtual InspRecord IR { get; set; }
        public virtual ICollection<InspItemRecord> Items { get; set; }
    }
}
